package 爬虫;

/**
 * ?????????,??????????,???????
 */
public class SpiderRegex {
	
	public final static String TABLE_URL="<\\s*table\\s+[^>]*\\s*>(.*?)</table\\s*>";//???table???
	
	public final static String TABLE_TBODY="\\s*<tbody>\\s*(.*?)\\s*</tbody>\\s*";//???tbody???
	
	public final static String TABLE_TR="\\s*<tr>\\s*(.*?)\\s*</tr>\\s*";//???tr???
	
	public final static String TABLE_TD="\\s*<td>\\s*(.*?)\\s*</td>\\s*";//???td???
	
	public final static String TABLE_TD_ADDR="<\\s*a\\s*[^>]*\\s*>[^<img](.*?)</a>\\s*";//????????????????
	
	public final static String TABLE_TD_NONE="(<\\s*input\\s*[^>]*\\s*/>|<\\s*a\\s*[^>]*\\s*><img.*?</a>)";//????????????????????  ?????????
	
	public final static String PAGE_DIV="\\s*<div class=\"new_page2\">\\s*(.*?)\\s*</div>\\s*";//??????div
	
	public final static String PAGE_TOTAL="\\s*<\\s*a\\s*[^>]*\\s*>\\s*(.*?)\\s*</a>\\s*";//??????????????a???
}
